package com.cax.module.article.domain;


import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 文章栏目表 实体
 * @author makejava
 * @date 2024-08-22 17:22:38
 */
@Data
@Accessors(chain = true)
@TableName("article_column")
@ApiModel(value = "ArticleColumn", description = "文章栏目表")
public class ArticleColumn extends Model<ArticleColumn> implements Serializable {
	private static final long serialVersionUID = -67843744357321489L;

    @ApiModelProperty(value = "文章栏目表-主键id")
	@TableId(value = "id", type = IdType.AUTO)
    private Integer id;

	@ApiModelProperty(value = "栏目名称")
	@TableField("`name`")
    private String name;

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@TableField("`create_time`")
    private LocalDateTime createTime;

}

